import {
	request,
	requestData
} from "../Promise.js"
export default {
	// 我的计划-例行检查
	getRoutineCheck(data) {
		return request({
			url: '/data-inspection-study/hg-app/plan-routine/statistics',
			method: 'post',
			data
		})
	},

	// 我的计划-安全隐患
	getDanger(data) {
		return request({
			url: '/data-inspection-study/hg-app/plan-potentialrisks/statistics',
			method: 'post',
			data
		})
	},

	// 我的计划-专项整治
	getRenovate(data) {
		return request({
			url: '/data-inspection-study/hg-app/special-task/statistics',
			method: 'post',
			data
		})
	},


	// 我的计划-节假日和重大活动
	getSafety(data) {
		return request({
			url: '/data-inspection-study/hg-app/holiday-task/statistics',
			method: 'post',
			data
		})
	},


	//首页 任务统计
	getTaskStatistics(data) {
		return request({
			url: '/data-inspection-study/hg-app/data-view/taskStatistics',
			method: 'post',
			data
		})
	},

	//首页-待检查任务统计
	getInspPage(data) {
		return request({
			url: '/data-inspection-study/hg-app/data-view/insp-page',
			method: 'post',
			data
		})
	},
	

}
